package plus.xj17520.org.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.util.Date;

/**
 * @projectName: pethomeProject
 * @package: plus.xj17520.org.domain
 * @className: Shop
 * @author: XiaoJue
 * @description: TODO
 * @date: 2022/5/29 12:06
 * @version: 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "t_shop")
public class Shop extends BaseDomain {
    @Id
    @GeneratedValue(generator = "JDBC")
    private Long id;
    private String name;
    private String tel;
    private Date registerTime;
    // 1.待审核 ；2.审核通过；3激活；4审核驳回（关闭）
    private Integer state;
    private String address;
    private String logo;
    private Boolean del;

    @Transient
    private String reason;
    @Transient
    private String suggest;
    @Transient
    private String userName;

}
